<script setup lang="ts">
import { ref } from 'vue';

const intro = ref('今天在下大雨')
const myTag = ref('<h3>重大通知</h3><p>今天会放晴！</p>')

</script>

<template>
  <div class="app-page">

    <div v-text="intro"></div>
    <div v-text="myTag"></div>
    <p>-------------------</p>
    <div v-html="myTag"></div>

  </div>
</template>

<style lang="css" scoped></style>